<template>
  <view class="approval-item">
    <CommonHeader>销除申请</CommonHeader>
    <view class="approval-content">
      <CommonInfo approvalType="销除" />
      <view class="input-area" @click="fieldClick">
        <van-field
          :value="approval.leaveId"
          label="待销id"
          label-class="label-class"
          input-class="input-class"
          placeholder="点击选择"
          readonly
        />
      </view>
      <ApprovalButton
        :warn="warn"
        :approvalType="'destroy'"
        :procInfo="{
          destroyTime: String(new Date().getTime()),
          leaveId: approval.leaveId,
        }"
      />
    </view>
    <van-toast id="van-toast" />
  </view>
</template>
<script src="./script.js"></script>
<style lang="less" src="./style.less"></style>
